import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const router= new VueRouter({
    routes:[
        { 
            path: '/', 
            component: require('../views/index.vue'),
            children:[
                
            ]
         },
         {
             path: '/kind', 
             name:"kind",
            component: require('../views/kind.vue'),
         },
         {
             path:'/showpage/:cid',
             name:'showpage',
             component:require('../comments/showpage.vue')
         },
         {
             path:'/particulars/:cid',
             name:'particulars',
             component:require('../comments/particulars.vue')
         },
         {
             path:'/phone',
             name:'phone',
             component:require('../views/phone.vue')
         },
         {
             path:'/cart',
             name:'cart',
             component:require('../views/cart.vue')
         }
         
    ]
})
export default router